require('type')
-- utf8 转 ascii
local function ascii(str)
    if isNil(str) then return string.empty end
    return Variant_Utf82Asc(tostring(str)) or string.empty
end

return ascii